package com.ktgj.other.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ktgj.other.mapper.EtSceneryticketRefundruleMapper;
import com.ktgj.other.domain.EtSceneryticketRefundrule;
import com.ktgj.other.service.IEtSceneryticketRefundruleService;

/**
 * 【请填写功能名称】Service业务层处理
 * 
 * @author ruoyi
 * @date 2022-07-22
 */
@Service
public class EtSceneryticketRefundruleServiceImpl implements IEtSceneryticketRefundruleService 
{
    @Autowired
    private EtSceneryticketRefundruleMapper etSceneryticketRefundruleMapper;

    /**
     * 查询【请填写功能名称】
     * 
     * @param ruleid 【请填写功能名称】ID
     * @return 【请填写功能名称】
     */
    @Override
    public EtSceneryticketRefundrule selectEtSceneryticketRefundruleById(Long ruleid)
    {
        return etSceneryticketRefundruleMapper.selectEtSceneryticketRefundruleById(ruleid);
    }

    /**
     * 查询【请填写功能名称】列表
     * 
     * @param etSceneryticketRefundrule 【请填写功能名称】
     * @return 【请填写功能名称】
     */
    @Override
    public List<EtSceneryticketRefundrule> selectEtSceneryticketRefundruleList(EtSceneryticketRefundrule etSceneryticketRefundrule)
    {
        return etSceneryticketRefundruleMapper.selectEtSceneryticketRefundruleList(etSceneryticketRefundrule);
    }

    /**
     * 新增【请填写功能名称】
     * 
     * @param etSceneryticketRefundrule 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int insertEtSceneryticketRefundrule(EtSceneryticketRefundrule etSceneryticketRefundrule)
    {
        return etSceneryticketRefundruleMapper.insertEtSceneryticketRefundrule(etSceneryticketRefundrule);
    }

    /**
     * 修改【请填写功能名称】
     * 
     * @param etSceneryticketRefundrule 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int updateEtSceneryticketRefundrule(EtSceneryticketRefundrule etSceneryticketRefundrule)
    {
        return etSceneryticketRefundruleMapper.updateEtSceneryticketRefundrule(etSceneryticketRefundrule);
    }

    /**
     * 批量删除【请填写功能名称】
     * 
     * @param ruleids 需要删除的【请填写功能名称】ID
     * @return 结果
     */
    @Override
    public int deleteEtSceneryticketRefundruleByIds(Long[] ruleids)
    {
        return etSceneryticketRefundruleMapper.deleteEtSceneryticketRefundruleByIds(ruleids);
    }

    /**
     * 删除【请填写功能名称】信息
     * 
     * @param ruleid 【请填写功能名称】ID
     * @return 结果
     */
    @Override
    public int deleteEtSceneryticketRefundruleById(Long ruleid)
    {
        return etSceneryticketRefundruleMapper.deleteEtSceneryticketRefundruleById(ruleid);
    }
}
